-
Notifications
You must be signed in to change notification settings - Fork 25
Define SolanaService for the Relayer #1643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
Hi, this seems like a massive PR: 11k lines of code where only ~50% (pg.go + mocks) are directly marked as generated. Could you please say how much of this PR is generated using the go tools (including genAI)? I am asking since it seems that there are random code pieces which are unused, e.g., like half of |
proto converters were generated by my own generator, and then brushed up manually |
this seems like a confusing state - if someone wants to change proto converters, how should one proceed? |
Just change them manually, like I did. I automated the process of initial scaffolding, but I don't think it should be fully automated |
ok, can you at least put the generation code in the top comments of the proto converters file so that there is at least a hint about the generation process? |
Yes, the generator itself is currently WIP, I'll open up a PR with it shortly with the readme on how to use it |
that is fine, but let's at least mark the files as generated, otherwise, this info will be lost. |
But they aren't fully generated, there is still manual work needed and I think "generated by" mark will be confusing. |
but IIUC we do not intend to re-generate these files. They were generated once to bootstrap things, and then manually edited, and cannot be reproduced deterministically. That is fine, but they should not be confused with files that are actually re-generated. They are now regular source files, and the code owners are responsible for them - not the generator. |
Supported by chainlink-solana